package com.ruoyi.wareManagement.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存流水查询对象 inventory_journal_inquiry
 * 
 * @author admin
 * @date 2024-07-01
 */
public class InventoryJournalInquiry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库存流水id */
    private Long journalId;

    /** 物料编号 */
    @Excel(name = "物料编号")
    private String materialNumber;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialName;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;

    /** 库位编号 */
    @Excel(name = "库位编号")
    private String locationNumber;

    /** 物料类型 */
    @Excel(name = "物料类型")
    private String type;

    /** 动作 */
    @Excel(name = "动作")
    private String movement;

    /** 来源单号 */
    @Excel(name = "来源单号")
    private String trackingNumber;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 最后更新人 */
    @Excel(name = "最后更新人")
    private String lastUpdater;

    /** 最后更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateTime;

    public void setJournalId(Long journalId) 
    {
        this.journalId = journalId;
    }

    public Long getJournalId() 
    {
        return journalId;
    }
    public void setMaterialNumber(String materialNumber) 
    {
        this.materialNumber = materialNumber;
    }

    public String getMaterialNumber() 
    {
        return materialNumber;
    }
    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }
    public void setLocationNumber(String locationNumber) 
    {
        this.locationNumber = locationNumber;
    }

    public String getLocationNumber() 
    {
        return locationNumber;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setMovement(String movement) 
    {
        this.movement = movement;
    }

    public String getMovement() 
    {
        return movement;
    }
    public void setTrackingNumber(String trackingNumber) 
    {
        this.trackingNumber = trackingNumber;
    }

    public String getTrackingNumber() 
    {
        return trackingNumber;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setLastUpdater(String lastUpdater) 
    {
        this.lastUpdater = lastUpdater;
    }

    public String getLastUpdater() 
    {
        return lastUpdater;
    }
    public void setLastUpdateTime(Date lastUpdateTime) 
    {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastUpdateTime() 
    {
        return lastUpdateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("journalId", getJournalId())
            .append("materialNumber", getMaterialNumber())
            .append("materialName", getMaterialName())
            .append("quantity", getQuantity())
            .append("locationNumber", getLocationNumber())
            .append("type", getType())
            .append("movement", getMovement())
            .append("trackingNumber", getTrackingNumber())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("lastUpdater", getLastUpdater())
            .append("lastUpdateTime", getLastUpdateTime())
            .toString();
    }
}
